package java_class_work.week03.practice02;

public class Test {

    public static void main(String[] args) {
        People jie = new Student();
        jie.setName("linda");
        System.out.println(jie.getName());
        jie.eatfood("海鲜");

        People kai = new Teacher();
        kai.setName("jack");
        System.out.println(kai.getName());
        kai.eatfood("火锅");
    }
}
